package com.sc.domain.patrol;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
/*
 * 巡检记录
 * @author: Zuiliu
 * */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("zuiliu_patrol_records")
public class PatrolRecords {
    private String task_name;//任务名称
    private String task_person;//巡检人员

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField("task_startTime")
    private Timestamp task_startTime;//任务开始时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField("task_endTime")
    private Timestamp task_endTime;//任务结束时间

    private String task_state;//任务状态
    private String task_connection;//关联计划
}
